{% extends "blogs/dashboard/base_blog.html" %}

{% block current_action %}Ban IP{% endblock %}

{% block content %}
    <p>You are about to ban {{ ip_to_ban }} from commenting. Are you sure you want to continue?</p>
    <form method="post" action="">
        <input type="hidden" name="back_url" value="{% url blogs.dashboard.comments blog_slug %}" />
        <input type="hidden" name="ip" value="{{ ip_to_ban }}" />
        <input type="checkbox" id="delete" name="_delete" /> <label for="delete">Also delete comments from this IP</label><br />
        <input type="submit" value="Yes, I'm sure"/>
    </form>
{% endblock %}